Automattic\Jetpack\Sync\Queue\Queue_Storage_Table S

Total Complexity 47
Dependencies 3
Dependents 3
Total lines 647
Lines of code 329
Logical lines of code 133
Comment lines 221
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
is_custom_table_healthy()
A
50 9 26
migrate_from_options_table_to_custom_table()
A
40 5 68
migrate_from_custom_table_to_options_table()
S
47 4 39
get_lag()
S
54 4 21
add_all()
S
54 4 20
custom_table_exists()
S
62 4 11
fetch_items()
S
52 2 35
fetch_items_by_ids()
S
55 3 19
create_table()
S
59 1 18
initialize_custom_sync_table()
S
69 2 7
__construct()
S
66 2 8
drop_table()
S
70 2 6
insert_item()
S
62 1 12
get_items_ids_with_size()
S
64 1 11
clear_queue()
S
66 1 9
delete_items_by_ids()
S
63 1 10
get_item_count()
S
66 1 9